<hr>
<h1>helloAdmin index</h1>
<?php 
$text="logo.jpg";
echo $this->form;
$list_template='<div class="wmp_table">';
foreach($this->templates as $template)
{
	$edit_url=$this->url(array('module'=>'admin','controller'=>'templates','update'=>$template->name));
	$delete_url=$this->url(array('module'=>'admin','controller'=>'templates','delete'=>$template->name));
	$list_template .='<div class="wmp_tr">';
	if(in_array($template->name, $this->fileSystemTemplates))
	{
		$list_template .='<div class="wmp_td">'.$template->name.'</div>';
		$list_template .='<div class="wmp_td">'.$template->title.'</div>';
		$list_template .='<div class="wmp_td">'.$template->description.'</div>';
	}	
	$list_template .='</div>';
}
$list_template  .='</div>';
echo $list_template;
?>
<hr>